package com.umeng.kaoti2.adapter;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.example.mvplibrary.mvplibrary.adapter.BaseAdapter;
import com.example.mvplibrary.mvplibrary.adapter.BaseViewHolder;
import com.umeng.kaoti2.R;
import com.umeng.kaoti2.data.HighOpinionBean;

import java.util.List;

public class TwoAdapter extends BaseAdapter<HighOpinionBean.ListBean> {
    public TwoAdapter(List<HighOpinionBean.ListBean> datas, Context context, int layoutId) {
        super(datas, context, layoutId);

    }

    @Override
    protected void bindData(BaseViewHolder holder, HighOpinionBean.ListBean listBean, int position) {
        TextView tv_tag = holder.getView(R.id.tv_tag);
        tv_tag.setText(listBean.getTags().get(position)+" ");
    }
}
